﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebCore.Models.DataEntities;

namespace WebCore.Models.DataManagers
{
    public sealed class UserManager
    {
        public static UserDetail GetUserDetail(Guid userID)
        {
            DataEntities.DataEntities entities = new DataEntities.DataEntities();
            return (from d in entities.UserDetails
                    where d.UserID == userID                    
                    select d).FirstOrDefault();
        }
    }
}